package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import java.io.Serializable;
import p014ae.C0172v6;
import p216hn.DefaultConstructorMarker;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: PixivNotification.kt */
/* renamed from: jp.pxv.android.commonObjects.model.PixivNotification */
/* loaded from: classes2.dex */
public final class PixivNotification implements Serializable {
    @SerializedName("analytics_type")
    private String analyticsType;
    @SerializedName("body")
    private String body;
    @SerializedName("target_url")
    private String targetUrl;
    @SerializedName("title")
    private String title;

    public PixivNotification(String str, String str2, String str3, String str4) {
        MutabilityOwnership.m3745m(str3, "targetUrl");
        MutabilityOwnership.m3745m(str4, "analyticsType");
        this.title = str;
        this.body = str2;
        this.targetUrl = str3;
        this.analyticsType = str4;
    }

    public static /* synthetic */ PixivNotification copy$default(PixivNotification pixivNotification, String str, String str2, String str3, String str4, int i, Object obj) {
        if ((i & 1) != 0) {
            str = pixivNotification.title;
        }
        if ((i & 2) != 0) {
            str2 = pixivNotification.body;
        }
        if ((i & 4) != 0) {
            str3 = pixivNotification.targetUrl;
        }
        if ((i & 8) != 0) {
            str4 = pixivNotification.analyticsType;
        }
        return pixivNotification.copy(str, str2, str3, str4);
    }

    public final String component1() {
        return this.title;
    }

    public final String component2() {
        return this.body;
    }

    public final String component3() {
        return this.targetUrl;
    }

    public final String component4() {
        return this.analyticsType;
    }

    public final PixivNotification copy(String str, String str2, String str3, String str4) {
        MutabilityOwnership.m3745m(str3, "targetUrl");
        MutabilityOwnership.m3745m(str4, "analyticsType");
        return new PixivNotification(str, str2, str3, str4);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PixivNotification)) {
            return false;
        }
        PixivNotification pixivNotification = (PixivNotification) obj;
        return MutabilityOwnership.m3749h(this.title, pixivNotification.title) && MutabilityOwnership.m3749h(this.body, pixivNotification.body) && MutabilityOwnership.m3749h(this.targetUrl, pixivNotification.targetUrl) && MutabilityOwnership.m3749h(this.analyticsType, pixivNotification.analyticsType);
    }

    public final String getAnalyticsType() {
        return this.analyticsType;
    }

    public final String getBody() {
        return this.body;
    }

    public final String getTargetUrl() {
        return this.targetUrl;
    }

    public final String getTitle() {
        return this.title;
    }

    @Override // java.lang.Object
    public int hashCode() {
        String str = this.title;
        int i = 0;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        String str2 = this.body;
        if (str2 != null) {
            i = str2.hashCode();
        }
        return this.analyticsType.hashCode() + C0172v6.m12134a(this.targetUrl, (hashCode + i) * 31, 31);
    }

    public final void setAnalyticsType(String str) {
        MutabilityOwnership.m3745m(str, "<set-?>");
        this.analyticsType = str;
    }

    public final void setBody(String str) {
        this.body = str;
    }

    public final void setTargetUrl(String str) {
        MutabilityOwnership.m3745m(str, "<set-?>");
        this.targetUrl = str;
    }

    public final void setTitle(String str) {
        this.title = str;
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("PixivNotification(title=");
        c.append((Object) this.title);
        c.append(", body=");
        c.append((Object) this.body);
        c.append(", targetUrl=");
        c.append(this.targetUrl);
        c.append(", analyticsType=");
        return C2047a.m8800b(c, this.analyticsType, ')');
    }

    public /* synthetic */ PixivNotification(String str, String str2, String str3, String str4, int i, DefaultConstructorMarker eVar) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, str3, str4);
    }
}
